﻿using System;
using System.Text;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SF.Common;

namespace SF.Ucenter.admin.modeconfig
{
    public partial class modeconfig_preview : Web.UI.ManagePage
    {
        SF.BLL.sf_modeconfig bll = new BLL.sf_modeconfig();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                RptBind();
            }
        }

        #region 数据绑定=================================
        /// <summary>
        /// 绑定模版,颜色
        /// </summary>
        /// <param name="wid"></param>
        private void RptBind()
        {
            try
            {
                rptPreview.DataSource = bll.GetList("onshelf=1 and isdelete=0 ");
                rptPreview.DataBind();
            }
            catch (Exception ex)
            { 
              
            }
        }
        #endregion
    }
}